#pragma once
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>

typedef void (*callback_t)(double);

#define NUM 100
#define HEAD '>'
#define BODY '='
#define FILESIZE 1024*1024*1024 

void process();


void process_flush(double rate);


